Row Space

Introduction

The row space of a matrix is one of the fundamental subspaces associated with a matrix. It captures all linear combinations of the matrix’s rows and helps us understand how much “information” the rows contain. Because you already know about Span, the row space will feel like a natural extension of that idea.

This article focuses on:

What Is the Row Space?

For a matrix $A$ with rows $r_1, r_2, \dots, r_m$:

Key ideas:

Comparing Row Space and Column Space

The row space and column space describe two different ways a matrix generates vectors, and contrasting them helps clarify what information each one captures. Both are subspaces, both relate to rank, and both tell you something structural about the matrix—but they live in different ambient spaces and answer different geometric questions.

Where Each Space Lives

This difference in dimension is the first major distinction: the two spaces generally live in different universes.

What Each Space Represents

A useful way to think about it:

Rank and the Shared Dimension

Even though the two spaces live in different ambient spaces, they share a key invariant:

are always equal. This common dimension is the rank of the matrix.

So while the spaces themselves differ, their “size” is the same.

Why Row Operations Preserve the Row Space

Elementary row operations:

These operations do not change the row space. Why?

This means:

Finding a Basis for the Row Space

To compute a basis:

  1. Write down the matrix.
  2. Perform row operations to reach RREF.
  3. Take the nonzero rows of the RREF.
  4. These rows form a basis for the row space.

Why this works:

Example:

What row space tells us

The row space reveals the internal structure of a matrix as a system of equations, and it often exposes information that the column space alone cannot. A clean way to see this is to look at how row‑equivalent matrices behave. Row‑equivalent matrices always have the same row space, because row operations preserve the linear relationships among the rows, but they can have different column spaces because row operations generally change the columns.

A concrete example

Consider the matrices $$C=\begin{bmatrix} 1 & 2 & 3\\ 0 & 1 & 4 \end{bmatrix}, \qquad D=\begin{bmatrix} 1 & 0 & -5\\ 0 & 1 & 4 \end{bmatrix}.$$ Matrix $D$ is obtained from $C$ by a row operation (replace the first row with the first row minus two times the second). Because row operations preserve the row space, $$\text{Row}(C)=\text{Row}(D).$$ Both matrices impose the same two independent constraints on the variables. Any solution to $Cx=b$ satisfies the same constraints as a solution to $Dx=b$, and the homogeneous systems $Cx=0$ and $Dx=0$ have identical solution sets.

But their column spaces differ. The columns of $C$ and $D$ are different sets of vectors, so the sets of reachable outputs $Cx$ and $Dx$ are not the same. This shows that the column space cannot tell you that the two matrices encode the same equations, while the row space can.

How row operations affect row and column space

Row operations reshape a matrix in ways that do change its column space, but they never change the solutions to the system $Ax=b$.

The key is that when we solve a system, we don’t row‑reduce $A$ alone—we row‑reduce the augmented matrix $[A\mid b]$. Because $b$ is transformed in sync with the rows of $A$, the relationship between $A$ and $b$ is preserved even though the columns of $A$ are altered.

This section explains why the column space changes, why the solution set does not, and how the augmented matrix keeps everything consistent.

How row operations distort the column space

Row operations act on rows, so each operation replaces the columns of $A$ with new linear combinations of the old columns. This means:

So if we only row‑reduced $A$, we would destroy the original column space and lose the information about which $b$ are reachable.

Why the solution set stays the same anyway

Even though row operations change the columns of $A$, they do not change the equations represented by the augmented matrix. The reason is simple:

Each row of the augmented matrix represents an equation $$r_1x_1 + r_2x_2 + \cdots + r_nx_n = b_i.$$ A row operation transforms both sides of the equation in a way that preserves its truth set. For example:

Because the equations remain equivalent, the solution set remains identical.

This is why row reduction is a valid method for solving linear systems.

What this means for solvability

The system $$Ax=b$$ is solvable iff $b$ lies in the original column space of $A$. Row operations do not preserve that column space, but they do preserve the logical equivalence of the system. When we row‑reduce $[A\mid b]$:

This test works because the augmented matrix encodes the equations themselves, not the geometric column space of the reduced matrix.

A compact summary

Exercises

  1. Compute the row space of $$A = \begin{bmatrix}1 & 2 & 3 \\ 2 & 4 & 6\end{bmatrix}.$$

    Solution

    The second row is $2$ times the first, so the row space is $$\text{Span}\{(1,2,3)\}.$$
  2. Find a basis for the row space of $$B = \begin{bmatrix}1 & 0 & -1 \\ 3 & 0 & -3 \\ 2 & 5 & 1\end{bmatrix}.$$

    Solution

    Row‑reducing $B$ gives nonzero rows $$(1,0,-1),\ (0,1,4).$$ A basis is $\{(1,0,-1), (0,1,4)\}$.
  3. True or false: Row operations can change the row space of a matrix.

    Solution

    False. Row operations do not change the row space.
  4. Determine the dimension of the row space of $$C = \begin{bmatrix}1 & 1 \\ 2 & 2 \\ 3 & 3\end{bmatrix}.$$

    Solution

    All rows are multiples of $(1,1)$, so the dimension is $1$.
  5. Let $$D = \begin{bmatrix}1 & 2 & 0 \\ 0 & 1 & 3\end{bmatrix}.$$ Write a basis for Row$(D)$.

    Solution

    The rows are already independent. A basis is $$\{(1,2,0),\ (0,1,3)\}.$$
  6. Explain why the nonzero rows of RREF$(A)$ always form a basis for the row space.

    Solution

    In RREF, each nonzero row has a pivot in a unique column, so the rows are linearly independent. Because row operations preserve the row space, these rows span the same space as the original rows.
  7. Compute the row space of $$E = \begin{bmatrix}0 & 1 & 2 \\ 0 & 2 & 4 \\ 1 & 0 & 0\end{bmatrix}.$$

    Solution

    Row‑reducing $E$ gives nonzero rows $$(1,0,0),\ (0,1,2).$$ So the row space is $$\text{Span}\{(1,0,0),\ (0,1,2)\}.$$